package com.pk.platform.business.core.dao;

import java.util.List;
import java.util.Map;

import com.pk.platform.domain.form.FormDefine;
import com.pk.platform.domain.form.FormModule;
import com.pk.platform.util.page.Pager;

public interface IFormDao extends IGenericDao {

	public List<Map<String, Object>> queryFormModule(Pager pager);
	
	public List<Map<String, Object>> queryFormDefineByModule(String fmId, Pager pager);
	
	public FormModule queryFormModuleByCode(String code);

	public FormDefine queryFormDefineByCode(String code);
	
	public int moduleCountByCode(String code, String id);
	
	public int defineCountByCode(String code, String id);
	
}
